@echo off
echo 正在添加PWA相关文件到Git...

echo 添加PWA核心文件...
git add manifest.json
git add service-worker.js
git add offline.html
git add static/offline-test.html

echo 添加移动端优化文件...
git add static/css/mobile-optimization.css
git add static/css/pwa-styles.css
git add static/css/pwa-install.css

echo 添加PWA JavaScript文件...
git add static/js/pwa-installer.js
git add static/js/pwa-install.js

echo 添加主题模板文件...
git add themes/magazine-theme/layouts/_default/baseof.html
git add themes/magazine-theme/layouts/index.html

echo 添加文档和工具文件...
git add PWA_IMPLEMENTATION_SUMMARY.md
git add validate_pwa.py
git add simple_server.py

echo 添加其他相关文件...
git add static/images/icons/
git add .github/workflows/sync-to-gitee.yml

echo 文件添加完成！
echo.
echo 请执行以下命令提交更改：
echo git commit -m "feat: 添加完整的PWA功能实现"
echo.
echo 然后推送到远程仓库：
echo git push -u origin main